package com.dz.syndata.bean;

import java.util.List;

/**
 * 车辆GPS信息
 */
public class CarGpsInfo {

    /**
     * data : [{"carId":154510,"dir":115,"exData":"s=0","gateType":"new","heartTime":1615943057346,"lat":32.900433,"latc":32.904255,"lon":105.039,"lonc":105.048916,"machineType":75,"online":0,"orginalSpeed":15,"pointTime":1615943067000,"pointType":1,"speed":0,"staticTime":1615943023000,"status":""},{"carId":154508,"dir":233,"exData":"s=0","gateType":"new","heartTime":1615963108263,"lat":32.900533,"latc":32.904355,"lon":105.039033,"lonc":105.048949,"machineType":75,"online":0,"orginalSpeed":7,"pointTime":1615953860000,"pointType":1,"speed":0,"staticTime":1615953823000,"status":""},{"carId":154571,"dir":193,"exData":"s=0","gateType":"new","heartTime":1615963509762,"lat":32.8947,"latc":32.8987,"lon":105.02485,"lonc":105.034631,"machineType":75,"online":0,"orginalSpeed":9,"pointTime":1615963524000,"pointType":1,"speed":0,"staticTime":1615963486000,"status":""}]
     * ret : 1
     * time : 1615965234027
     */

    private int ret;
    private long time;
    private List<DataBean> data;

    public int getRet() {
        return ret;
    }

    public void setRet(int ret) {
        this.ret = ret;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public  class DataBean {
        /**
         * carId : 154510
         * dir : 115
         * exData : s=0
         * gateType : new
         * heartTime : 1615943057346
         * lat : 32.900433
         * latc : 32.904255
         * lon : 105.039
         * lonc : 105.048916
         * machineType : 75
         * online : 0
         * orginalSpeed : 15
         * pointTime : 1615943067000
         * pointType : 1
         * speed : 0
         * staticTime : 1615943023000
         * status :
         */

        private int carId;
        private int dir;
        private String exData;
        private String gateType;
        private long heartTime;
        private double lat;
        private double latc;
        private double lon;
        private double lonc;
        private int machineType;
        private int online;
        private int orginalSpeed;
        private long pointTime;
        private int pointType;
        private int speed;
        private long staticTime;
        private String status;
        private String machineName;
        private String imei;
        private String updateTime;

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getMachineName() {
            return machineName;
        }

        public void setMachineName(String machineName) {
            this.machineName = machineName;
        }

        public String getImei() {
            return imei;
        }

        public void setImei(String imei) {
            this.imei = imei;
        }

        public int getCarId() {
            return carId;
        }

        public void setCarId(int carId) {
            this.carId = carId;
        }

        public int getDir() {
            return dir;
        }

        public void setDir(int dir) {
            this.dir = dir;
        }

        public String getExData() {
            return exData;
        }

        public void setExData(String exData) {
            this.exData = exData;
        }

        public String getGateType() {
            return gateType;
        }

        public void setGateType(String gateType) {
            this.gateType = gateType;
        }

        public long getHeartTime() {
            return heartTime;
        }

        public void setHeartTime(long heartTime) {
            this.heartTime = heartTime;
        }

        public double getLat() {
            return lat;
        }

        public void setLat(double lat) {
            this.lat = lat;
        }

        public double getLatc() {
            return latc;
        }

        public void setLatc(double latc) {
            this.latc = latc;
        }

        public double getLon() {
            return lon;
        }

        public void setLon(double lon) {
            this.lon = lon;
        }

        public double getLonc() {
            return lonc;
        }

        public void setLonc(double lonc) {
            this.lonc = lonc;
        }

        public int getMachineType() {
            return machineType;
        }

        public void setMachineType(int machineType) {
            this.machineType = machineType;
        }

        public int getOnline() {
            return online;
        }

        public void setOnline(int online) {
            this.online = online;
        }

        public int getOrginalSpeed() {
            return orginalSpeed;
        }

        public void setOrginalSpeed(int orginalSpeed) {
            this.orginalSpeed = orginalSpeed;
        }

        public long getPointTime() {
            return pointTime;
        }

        public void setPointTime(long pointTime) {
            this.pointTime = pointTime;
        }

        public int getPointType() {
            return pointType;
        }

        public void setPointType(int pointType) {
            this.pointType = pointType;
        }

        public int getSpeed() {
            return speed;
        }

        public void setSpeed(int speed) {
            this.speed = speed;
        }

        public long getStaticTime() {
            return staticTime;
        }

        public void setStaticTime(long staticTime) {
            this.staticTime = staticTime;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }
    }
}
